package com.wqb.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wqb.server.pojo.MenuRole;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 万秋泊
 * @since 2022-03-10
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    /**
     * 更新角色菜单
     *
     * @param rid  角色id
     * @param mids 菜单id数组
     * @return
     */
    Integer insertRecord(@Param("rid") Integer rid, @Param("mids") Integer[] mids);

}
